<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智慧医疗数据监控和告警系统</title>
    <link rel="icon" href="../favicon.ico">
    <link rel="stylesheet" type="text/css" href="../static/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="../static/css/main.css"/>



</head>

<body>
<div class="container">
    <div class="header">
        <span class="left">诊 疗 结 果 信 息 录 入</span>
        <span class="right">你 好，{{user_info}}管 理 员!</span>
        <span class="right_right"><a href="/">退出登录</a></span>
    </div>
    <div class="leftside">
        <ul>
            <li><a href="/student">患者基本信息录入</a></li>
            <li><a href ="/updata_student">患者信息修改</a></li>
            <li><a href="/teacher_class">医护人员排班查看</a></li>
            <li><a href="/teacher">患者诊疗项目录入</a></li>
            <li class="first"><a href="#">诊疗结果信息录入</a></li>
            <li><a href="/grade_infos">患者诊疗历史查询</a></li>
            <li><a href="/graduation">患者出院情况查看</a></li>
            <li><a href="/adminstator">医疗系统权限管理</a></li>

        </ul>

    </div>
    <div class="container-fluid">
        <h1 class="sub-header">诊 疗 结 果 信 息 录 入</h1>
        &nbsp;&nbsp;
        <hr>
        <div class="table-responsive">
            <table class="table table-striped">
                <thead>
                    <tr>
                        <th>患者id</th>
                        <th>检测项目</th>
                        <th>检测结果</th>
                        <th></th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <form action="" method="post" onsubmit="return handleSubmit()">
                            <td><input class="long" name="student_id" type="text" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                            <td><input class="long" name="student_class_id" type="text" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                            <td><input class="long" name="grade"
                                    type="text" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            </td>
                            <td><input class="last" type="submit" value="提交" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                            <td"><span>提交结果:{{insert_result}}</span></td>
                        </form>
                    </tr>
                    <tr>
                        <th>患者id</th>
                        <th>检测项目</th>
                        <th>检测结果</th>
                    </tr>
                    {% for result in results %}
                    <tr>
                        <td>{{result[0]}}</td>
                        <td>{{result[1]}}</td>
                        <td>{{result[2]}}</td>
                    </tr>
                    {% endfor %}
                </tbody>
            </table>

        </div>
    </div>
</div>
</body>

</html>